/*
 * @Descripttion: GGB
 * @version: 1.0
 * @Author: GGB
 * @Date: 2021-08-19 11:37:14
 * @LastEditors: GGB
 * @LastEditTime: 2021-08-19 11:57:42
 */
import 'package:flutter/material.dart';
import 'package:flutter_data_center/utills/color_utils.dart';

class WarningDesc extends StatelessWidget {
  const WarningDesc({Key key, this.title, this.desc}) : super(key: key);
  final String title;
  final String desc;

  @override
  Widget build(BuildContext context) => Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [
          Text(
            title,
            style: TextStyle(
              fontSize: 18,
            ),
          ),
          SizedBox(height: 10),
          Text(
            desc,
            maxLines: 5,
            style: TextStyle(
              fontSize: 15,
              color: gColor("#A1A1A1"),
            ),
          ),
        ],
      );
}
